package tcc_minabot;

import java.io.IOException;
import java.util.Scanner;

import org.alicebot.ab.Bot;
import org.alicebot.ab.Chat;

public class BotTeste {

	public static void main(String[] args) throws IOException {

		Scanner input = new Scanner(System.in);
		String botname = "minabot";
		String path = System.getProperty("user.dir");
		
		Bot bot = new Bot(botname, path);
		Chat chat = new Chat(bot);
		
		String request = null;
		chat.multisentenceRespond("initMina: 1");
		while (!(request = input.nextLine()).equalsIgnoreCase("exit")) {
			System.out.println(chat.multisentenceRespond(request));
		};
	}

}
